enum ServiceStatus {
  deactived,
  initializing,
  initialized,
  activating,
  registed,
  actived,
  disposing,
  disposed,
  suspend,
}

class ServiceStatusBo {
  name: string;
  status: ServiceStatus;
  statusName: string;

  constructor(name: string, status: ServiceStatus) {
    this.name = name;
    this.status = status;
    this.statusName = ServiceStatus[status];
  }
}

export { ServiceStatusBo, ServiceStatus };
